using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace LibTester
{
	/// <summary>
	/// Summary description for Form2.
	/// </summary>
	public class Form2 : System.Windows.Forms.Form
	{
		private Shape shape1;
		private Shape shape2;
		private Shape shape3;
		private LinkLabel linkLabel1;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public Form2()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.shape1 = new System.Windows.Forms.Shape();
			this.linkLabel1 = new System.Windows.Forms.LinkLabel();
			this.shape2 = new System.Windows.Forms.Shape();
			this.shape3 = new System.Windows.Forms.Shape();
			((System.ComponentModel.ISupportInitialize)(this.shape1)).BeginInit();
			this.shape1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.shape2)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.shape3)).BeginInit();
			this.SuspendLayout();
			// 
			// shape1
			// 
			this.shape1.Controls.Add(this.linkLabel1);
			this.shape1.Controls.Add(this.shape2);
			this.shape1.Dock = System.Windows.Forms.DockStyle.Top;
			this.shape1.Fill.GradientAngle = 30F;
			this.shape1.Fill.GradientCenter = 0.3F;
			this.shape1.Fill.Style = System.Drawing.Drawing2D.FillStyle.LinearGradient;
			this.shape1.Line.Width = 0;
			this.shape1.Location = new System.Drawing.Point(0, 0);
			this.shape1.Name = "shape1";
			this.shape1.ShapeStyle = System.Windows.Forms.ShapeStyle.Arc;
			this.shape1.Size = new System.Drawing.Size(496, 136);
			this.shape1.TabIndex = 0;
			// 
			// linkLabel1
			// 
			this.linkLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.linkLabel1.AutoSize = true;
			this.linkLabel1.Location = new System.Drawing.Point(344, 20);
			this.linkLabel1.Name = "linkLabel1";
			this.linkLabel1.Size = new System.Drawing.Size(149, 13);
			this.linkLabel1.TabIndex = 2;
			this.linkLabel1.TabStop = true;
			this.linkLabel1.Text = "Launch Shape Property Editor";
			this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
			// 
			// shape2
			// 
			this.shape2.Fill.Color1 = System.Drawing.Color.Gold;
			this.shape2.Fill.Color2 = System.Drawing.Color.Yellow;
			this.shape2.Fill.Style = System.Drawing.Drawing2D.FillStyle.PathGradient;
			this.shape2.Line.Width = 0;
			this.shape2.Location = new System.Drawing.Point(0, 0);
			this.shape2.Name = "shape2";
			this.shape2.ShapeStyle = System.Windows.Forms.ShapeStyle.Star;
			this.shape2.Size = new System.Drawing.Size(75, 72);
			this.shape2.TabIndex = 1;
			// 
			// shape3
			// 
			this.shape3.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.shape3.Fill.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
			this.shape3.Fill.GradientCenter = 0.7F;
			this.shape3.Fill.Style = System.Drawing.Drawing2D.FillStyle.LinearGradient;
			this.shape3.Font = new System.Drawing.Font("Arial Black", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.shape3.ForeColor = System.Drawing.SystemColors.Window;
			this.shape3.Line.Width = 0;
			this.shape3.Location = new System.Drawing.Point(0, 349);
			this.shape3.Name = "shape3";
			this.shape3.Size = new System.Drawing.Size(496, 40);
			this.shape3.TabIndex = 1;
			this.shape3.Text = "Sign up today!";
			// 
			// Form2
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.BackColor = System.Drawing.SystemColors.Window;
			this.ClientSize = new System.Drawing.Size(496, 389);
			this.Controls.Add(this.shape3);
			this.Controls.Add(this.shape1);
			this.Name = "Form2";
			this.Text = "Fancy Form";
			((System.ComponentModel.ISupportInitialize)(this.shape1)).EndInit();
			this.shape1.ResumeLayout(false);
			this.shape1.PerformLayout();
			((System.ComponentModel.ISupportInitialize)(this.shape2)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.shape3)).EndInit();
			this.ResumeLayout(false);

		}
		#endregion

		private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
		{
			Form1 dlg = new Form1();
			dlg.ShowDialog(this);
		}
	}
}
